package cn.dg.manager.goods.goodsIntroduction.service;

import java.util.List;
import java.util.Map;

import cn.dg.manager.common.entity.PageEntity;
import cn.dg.manager.goods.goodsIntroduction.entity.GoodsInfoVO;

public interface GoodsIntroductionService {
	// 检索商品基本信息
	PageEntity<GoodsInfoVO> getGoodsInfoListPage(Map<String, Object> condMap);
	// 增加商品基本信息
	long insertGoodsInfo(GoodsInfoVO bean, String realPath, String url);
	// 更新商品基本信息
	long updateGoodsInfo(GoodsInfoVO bean);
	// 删除商品基本信息
	long deleteGoodsInfo(List<String> goodsIdList);
	// 根据主键查询数据
	GoodsInfoVO findGoodsInfoById(Map<String, Object> condMap);
	// 更新商品的图片信息
	long updateGoodsImageInfo(Map<String, Object> condMap);
}
